package com.sloera.spring.beans.generic.di;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author sloera
 * @create 2020/4/6
 */
public class BaseService<T> {
    @Autowired
    protected BaseRepository<T> repository;

    public void add() {
        System.out.println("BaseService add ");
        System.out.println(repository);
    }
}
